<?php

namespace app\common\model;

use think\Model;

class Video extends Model
{
    protected $table = 'edu_video';
    public function videoType()
    {
        return $this->hasOne('video_type', 'id', 'type_id')->bind('type_name');
    }
}